h1 {
  font-size: 1.5em;
  padding: 0 0 0.25em 0;
  margin: 0 0 0.5em 0;
  border-bottom: 2px solid #ccc;
}

.ajax-loader {
  display: none;
  overflow: hidden;
  background: url("/media/img/ajax-loader.gif");
  width: 16px;
  height: 16px;
}

.error {
  font-size: 0.75em;
  font-weight: bold;
  color: red;
  padding: 0;
  margin: 0;
}

span.error {
  padding: 0 0.5em;
}

.columns {
  position: relative;
  width: 100%;   /* IE6 */
  height: 100%;  /* IE6 */
}

.columns .c1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 9.5em;
  padding: 1em 0 0 1.5em;
  margin: 0;
  list-style-type: none;
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
}

.columns .c1 li {
  padding: 0;
  margin: 0;
  border: 1px solid white;  /* IE6 */
}

.columns .c1 li a {
  display: block;
  padding: 0.25em;
  margin: 0;
}

.columns .c1 li.spacer {
  height: 0;
  padding: 0.5em 0 0 0;
  overflow: hidden;   /* IE6 */
}

.columns .c1 li.active {
  background: #ccf;
  border-right: 1px solid #ccf;  /* IE6 */
  padding: 0.25em;
  list-style-image: url("/media/img/raquo-10.png");
}

.columns .c2 {
  position: absolute;
  top: 0;
  left: 11em;
  width: 9.5em;
  padding: 1em 0 0 1.5em;
  margin: 0;
  list-style-type: none;
  border-left: 1em solid #ccf;
  white-space: nowrap;

  min-height:500px;
  height:auto !important;
  height:500px;
}

.columns .c2 li {
  padding: 0;
  margin: 0;
  border: 1px solid white;  /* IE6 */
}

.columns .c2 li a {
  display: block;
  padding: 0.15em 0.25em;
}

.columns .c2 li.spacer {
  height: 0;
  padding: 0.5em 0 0 0;
  overflow: hidden;   /* IE6 */
}

.columns .c2 li.active {
  background: #fe8;
  border-right: 1px solid #fe8;  /* IE6 */
  padding: 0.15em 0.25em;
  list-style-image: url("/media/img/raquo-10.png");
}

.columns .c2 li.group {
  position: relative;
  left: -0.75em;
  padding: 0.4em 0.25em 0.15em 0.25em;
  font-size: 0.75em;
  color: #666;
}

.columns .c3 {
  position: relative;
  margin: 0 0 1em 23em;
  padding: 0 0.5em 1em 1em;
  list-style-type: none;
  border-left: 1em solid #fe8;

  /* Min-height Fast Hack */
  min-height:500px;
  height:auto !important;
  height:500px;
}

.columns .c2-3 {
  margin: 0 0 1em 11em;
  padding: 0 0.5em 1em 1em;
  border-left: 1em solid #ccf;

  /* Min-height Fast Hack */
  min-height:500px;
  height:auto !important;
  height:500px;
}

.add-icon {
  width: 10px;
  height: 10px;
  border: none;
}

form {
  padding: 0;
  margin: 0;
}

.note {
  color: #666;
  font-size: 0.75em;
  margin: 0.5em 0 1em 0;
}

blockquote.note {
  color: #666;
  font-size: 0.75em;
  padding-left: 2em;
  margin: 0.5em 0 1em 0;
}

.message {
  position: relative;
  margin: 0.25em 0em 0.75em 0em;
  padding: 0.5em;
  background: #fe8;
}

.message .icon {
  position: absolute;
  top: 0.5em;
  left: 0.5em;
  background: url("/media/img/check-16.png");
  width: 16px;
  height: 16px;
}

p.narrow {
  width: 40em;
  font-size: 0.8em;
}

p.warning {
  width: 40em;
  font-size: 0.8em;
  padding: 4px;
  background: #fff0f0;
  border: 1px solid #fbb;
  color: #600;
}

.message p {
  margin: 0 0 0 24px;
}

fieldset {
  position: relative;
  margin: 1em 0em;
  padding: 0.5em;
  border: 2px solid #ccc;
}

legend {
  font-weight: bold;
}

.form-row {
  position: relative;
  padding: 0 0 0 13em;
  margin: 0;
  height: 1%;  /* IE6 */
  clear: left;
}

.form-row label {
  font-size: 1em;
  color: #666;
  position: absolute;
  left: 0em;
  top: 0.25em;
}

.form-row label.radio {
  color: black;
  position: static;
  left: 0;
  top: 0;
}

.form-row label.checkbox {
  font-size: 0.8em;
  color: black;
  position: static;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
}

.form-row input.checkbox {
  margin: 0;
  padding: 0;
}

input.text {
  background: #f0f0f0;
  border: 1px solid #aaa;
  padding: 0.3em;
}

.form-row input.text {
  width: 20em;
  font-size: 0.75em;
  margin: 0.25em 0;
}

.form-row div.radio {
  margin: 0 1em 0 3em;
  padding: 0;
  width: auto;
}

.form-row div.radio textarea {
  float: left;
  margin: 0 1em 0.5em 0;
  width: 17em;
  height: 10em;
  background: #f0f0f0;
  border: 1px solid #aaa;
  padding: 0;
}

.form-row textarea {
  width: 100%;
  height: 10em;
  background: #f0f0f0;
  border: 1px solid #aaa;
  padding: 0;
}

.form-row input.text-wide {
  width: 100%;
  height: 1%;
  background: #f0f0f0;
  border: 1px solid #aaa;
  padding: 0.3em 0;
}

.form-row select {
  font-size: 0.75em;
  margin: 0;
  width: 17em;
  background: #f0f0f0;
  border: 1px solid #aaa;
  padding: 0;
}

.form-row div.field {
  font-size: 1em;
  font-size: 0.75em;
  margin: 0;
  padding: 0.6em 0;
}

.form-row div.error {
  overflow: hidden;
  white-space: nowrap;
  position: absolute;
  left: 39em;
  top: 0.6em;
}

.form-row div.select-note {
  overflow: hidden;
  position: absolute;
  left: 37em;
  top: 0.25em;
  font-size: 0.75em;
  color: #666;
}

.submit-row {
  position: relative;
  height: 1%;  /* IE6 */
}

.submit-row div {
  font-size: 1em;
  font-weight: bold;
  position: absolute;
  left: 12em;
  top: 0.3em;
  padding: 0;
  margin: 0;
  color: red;
}

.submit-row input {
  font-size: 1em;
  margin: 0.25em 0 0.25em 13em;
  bottom: 0;
  padding: 0em 1em;
}

.unlabeled .form-row {
  position: relative;
  padding: 0;
  margin: 0.6em 0;
  height: 1%;  /* IE6 */
}

.unlabeled .submit-row {
  position: relative;
  height: 1%;  /* IE6 */
}

.unlabeled .submit-row div {
  font-size: 1em;
  font-weight: bold;
  position: absolute;
  left: 0.5em;
  top: 0.3em;
  padding: 0;
  margin: 0;
  color: red;
}

.unlabeled .submit-row input {
  font-size: 1em;
  margin: 0.25em 0 0.25em 1.5em;
  bottom: 0;
  padding: 0em 1em;
}

#tabs-and-sidebar {
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;  /* IE6 */
}

#sidebar {
  position: absolute;
  width: 10em;
  padding: 0;
  margin: 0;
  top: 0;
  right: 0;
}

/* Currently this is only needed by the bot cloud page */
h2 {
  font-size: 1.3em;
  font-weight: normal;
  margin: 0 0 0.5em 0;
  color: #444;
}

#sidebar h2 {
  font-size: 1em;
  color: black;
  margin: 0 0 0.5em 0;
  padding: 0 0 2px 0;
  border-bottom: 4px solid #c8c8c8;
}

#sidebar .ajax-loader {
  position: absolute;
  top: 2px;
  right: 3px;
}

#sidebar p {
  margin: 0 0 1em 0;
  padding: 0;
  font-size: 0.75em;  
}

#ruleset-editor {  /* IE6 */
  width: 100%;
  margin: 0 0 1em 0;
}

#ruleset-editor textarea {
  width: 100%;
  height: 25em;
  background: #f0f0f0;
  border: 1px solid #aaa;
  padding: 0;
  margin: 0;
}

#ruleset-editor .validation {
  width: 100%;
  border-left: 1px solid #aaa;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
}

#ruleset-editor .validation .ajax-loader {
  float: left;
  margin: 2px 8px 2px 2px;
}

#ruleset-editor .validation p {
  padding: 2px;
  margin: 0;
  font-size: 0.75em;
  font-weight: bold;
}

#change-history .ajax-loader {
  position: relative;
  left: 50%;
  margin: 1.5em 0;  
}

#changesets {
/* Scrolling changesets...
  height: 25em;
  overflow: auto;  
  padding: 0 1em 0 0;
 */

  font-size: 0.8em;
  margin: 0.5em 0;
  padding: 0;
  list-style-type: none;
}

#changesets.indented {
  padding: 0 0 0 1.5em;
}

#more-changes {
  display: none;
  margin: 0.5em 0;
  background: #ccf;
  border: 1px solid #88f;
}

#more-changes a {
  display: block;
  padding: 2px 4px;
  font-weight: bold;
  font-size: 0.8em;
  cursor: pointer;
}

#changesets p.change-asset-name {
  margin: 1em 0 0.5em -1em;
  color: #666;
  font-size: 1.25em;
  font-weight: bold;
}

#changesets p.change-heading {
  margin: 0;
  padding: 2px;
  background: #eee;
  border: 1px solid #aaa;
}

#changesets img {
  vertical-align: middle;
}

/* This is also used within person-lists */
span.change-detail {
  float: right;
  color: #888;
  font-weight: bold;
}

#changesets li.changeset {
  margin: 0;
  padding: 0 0 0.5em 0;
}

#changesets .change-items {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#changesets .change-item {
  padding: 2px 0 2px 1em;
}

.diff {
  background: #ffc;
  border: 1px solid #dda;
  padding: 4px 0;
  margin: 4px 0 0 0;
  font-size: 0.9em;
  font-family: monospace;
}

.diff div {
  padding: 0 4px;
}

.diff-added {
  background: #9f9;
}

.diff-removed {
  background: #f99;
}

.diff-prefix {
  font-weight: bold;
  color: #666;
}

ul.person-list {
  list-style-type: none;
  font-size: 0.8em;
  margin: 0;
  padding: 0;
  background: #eee;
  border-top: 1px solid #aaa;
  border-left: 1px solid #aaa;
  border-right: 1px solid #aaa;
}

ul.person-list li {
  padding: 2px;
  margin: 0;
  border-bottom: 1px solid #aaa;
}  

img.person {
  vertical-align: middle;
}

span.person {
  font-weight: bold;
}

span.deleted-account {
  text-decoration: line-through;
}

#message-composer textarea {
  width: 40em;
  height: 20em;
  background: #f0f0f0;
  border: 1px solid #aaa;
  padding: 0;
  margin: 0;
}

strong {
  color: black;
  font-weight: bold;
}

div.help {
  font-size: 0.7em;
  margin: 0 0 0.5em 0;
}

a.help {
  cursor: pointer;
  border-bottom: 1px dotted #00c;
  padding: 0;
}

ul.arrows {
  margin: 0 0 0 20px;
  padding: 0;
}

ul.arrows li {
  list-style-image: url("/media/img/raquo-10.png");
}

p.cloud {
  background: #ffd;
  padding: 0.5em;
  border: 1px solid #fcc;
}  

p.cloud span {
  margin: 0 0.1em;
}

p.cloud span.error {
  margin: 0 0.2em;
  padding: 0;
  color: #c00;
}
